    <style>
      #removalNotification {
        display: flex;
        flex: 1;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
      }
    </style>

    <slot name="body"></slot>

    <cr-action-menu id="menu" role-description="$i18n{menu}">
      <button id="menuCopyPassword" class="dropdown-item"
          hidden$="[[activePassword_.entry.federationText]]"
          on-click="onMenuCopyPasswordButtonTap_">$i18n{copyPassword}</button>
      <button id="menuEditPassword" class="dropdown-item"
          on-click="onMenuEditPasswordTap_">
        [[getMenuEditPasswordName_(isEditDialog_)]]
      </button>
      <button id="menuRemovePassword" class="dropdown-item"
          on-click="onMenuRemovePasswordTap_">$i18n{removePassword}</button>
      <button id="menuMovePasswordToAccount"
          on-click="onMenuMovePasswordToAccountTap_"
          hidden$="[[!shouldShowMoveToAccountOption_(activePassword_,
              allowMoveToAccountOption, firstSignedInAccountEmail_)]]"
          class="dropdown-item">$i18n{movePasswordToAccount}</button>
    </cr-action-menu>

    <template is="dom-if" if="[[showPasswordEditDialog_]]" restamp>
      <password-edit-dialog on-close="onPasswordEditDialogClosed_"
          id="passwordEditDialog"
          existing-entry="[[activePassword_.entry]]"
          saved-passwords="[[savedPasswords]]"
          is-account-store-user="[[isAccountStoreUser]]">
      </password-edit-dialog>
    </template>

    <template is="dom-if" if="[[showPasswordMoveToAccountDialog_]]" restamp>
      <password-move-to-account-dialog id="passwordMoveToAccountDialog"
          password-to-move="[[activePassword_.entry]]"
          on-close="onPasswordMoveToAccountDialogClosed_">
      </password-move-to-account-dialog>
    </template>

    <template is="dom-if" if="[[showPasswordRemoveDialog_]]" restamp>
      <password-remove-dialog id="passwordRemoveDialog"
          duplicated-password="[[activePassword_.entry]]"
          on-close="onPasswordRemoveDialogClosed_">
      </password-remove-dialog>
    </template>

    <cr-toast id="removalToast" duration="5000">
      <div id="removalNotification">[[removalNotification_]]</div>
      <cr-button aria-label="$i18n{undoDescription}"
          on-click="onUndoButtonClick_">$i18n{undoRemovePassword}</cr-button>
    </cr-toast>

    <cr-toast id="copyToast" duration="5000">
      <div id="copyNotification">$i18n{passwordCopiedToClipboard}</div>
    </cr-toast>
